1
00:00:03,150 --> 00:00:03,390
All right.

2
00:00:03,420 --> 00:00:10,120
Let's head out to Virtual Box to get our private host only network ten dot odah three dot x setup.

3
00:00:10,560 --> 00:00:15,600
There's been a few changes to virtual box in the last few versions, so I've updated this section to

4
00:00:15,600 --> 00:00:17,430
make it easier for everybody to follow.

5
00:00:17,790 --> 00:00:19,890
Let's take a look over at Virtual Box.

6
00:00:21,030 --> 00:00:27,680
One thing that we haven't done yet is put a shortcut either on our programs we knew or on our launch

7
00:00:27,700 --> 00:00:31,440
pad, depending on whether you're running Windows or Mac.

8
00:00:32,160 --> 00:00:34,320
And I'd like to do that now.

9
00:00:34,320 --> 00:00:35,700
So I'm going to bring virtual box.

10
00:00:35,730 --> 00:00:40,920
I'm just going to click it and drag it down to my dock here.

11
00:00:40,950 --> 00:00:43,970
I'm going to put it just someplace around the middle or the right hand side.

12
00:00:45,050 --> 00:00:45,710
There we go.

13
00:00:46,310 --> 00:00:49,010
And now any time I went to lunch, virtual box, it'll be closer.

14
00:00:49,010 --> 00:00:56,540
If you're on a P.C., you just want to drag and drop that menu item from your programs folder over onto

15
00:00:56,540 --> 00:00:57,290
your start menu.

16
00:00:57,290 --> 00:01:00,740
You'll be able to pin it to your start menu so that it's a little faster and easier.

17
00:01:02,560 --> 00:01:04,570
Now let's open up virtual box.

18
00:01:05,620 --> 00:01:13,150
So the first thing we want to do is set up our private network and a virtual box moved where that was

19
00:01:13,150 --> 00:01:14,980
back in version five or so.

20
00:01:15,730 --> 00:01:20,260
Now, in version six, it's still here under virtual box and file.

21
00:01:20,650 --> 00:01:23,490
And if you're on a P.C., everything is under file.

22
00:01:23,920 --> 00:01:25,600
But we're going to come down to file.

23
00:01:25,630 --> 00:01:27,100
And this is called a host.

24
00:01:27,190 --> 00:01:28,210
Network manager.

25
00:01:28,600 --> 00:01:33,670
The host network just means that we'll have a host only we're not going to be public out to the Internet.

26
00:01:34,240 --> 00:01:39,370
Like we mentioned, the Internet will be safe from us and we'll be safe from the Internet that hosts

27
00:01:39,370 --> 00:01:40,000
only network.

28
00:01:40,040 --> 00:01:42,550
Let's see, though, other machines inside our network.

29
00:01:42,850 --> 00:01:48,190
By default, the net network that you're connected to, the 10 that up to that 15, if you've already

30
00:01:48,220 --> 00:01:55,930
run your IP address, is only able to see the one computer, the one virtual machine and our host computer.

31
00:01:56,230 --> 00:01:57,790
You're not able to see out.

32
00:01:58,150 --> 00:02:02,440
You're able to see the Internet, but you're not able to see out to any of the other virtual machines.

33
00:02:02,740 --> 00:02:05,320
We want to create a network lab where they can see one another.

34
00:02:05,830 --> 00:02:12,580
So under file, you'll find host network manager on a Mac that's up here on the upper left of your window

35
00:02:12,850 --> 00:02:16,180
on a P.C. that is down here on the menu bar.

36
00:02:16,180 --> 00:02:19,000
And you'll see file come to host network manager.

37
00:02:20,150 --> 00:02:24,080
And this moves around from time to time between versions of virtual box.

38
00:02:24,430 --> 00:02:29,290
So you may have to look around just a little bit to find something related to host network or network

39
00:02:29,290 --> 00:02:29,800
manager.

40
00:02:30,370 --> 00:02:32,590
So we're gonna create a new host only network.

41
00:02:33,250 --> 00:02:35,920
And by default, it's going to be called V box net zero.

42
00:02:35,940 --> 00:02:36,720
That's OK.

43
00:02:37,630 --> 00:02:42,390
It'll have an IP address mask of 192 168 56.

44
00:02:42,460 --> 00:02:50,170
That just means that you'll get an address in that set of IP addresses from 192 168 56 dot one through

45
00:02:50,180 --> 00:02:51,330
254.

46
00:02:51,970 --> 00:02:57,670
But we're gonna double click that because we want to change the properties of that host only network.

47
00:02:58,450 --> 00:03:01,600
So the host only network, we said, would be a 10 Dot Odah three.

48
00:03:05,000 --> 00:03:12,270
And we will configure the adapter to have a dot to address turned out Odah three, dot two.

49
00:03:12,680 --> 00:03:14,750
That will be our host only adapter.

50
00:03:14,750 --> 00:03:22,160
So if we want to ping our actual virtual our desktop computer, it will have an adapter address here

51
00:03:22,160 --> 00:03:27,350
in this range and we'll leave the network mass 255 255 255 zero.

52
00:03:27,710 --> 00:03:33,590
That means these first three bytes, the 10 dot dot three will remain the same for every computer on

53
00:03:33,590 --> 00:03:34,340
this network.

54
00:03:34,370 --> 00:03:40,790
So the 255, 255, 255 just locks all of those bits for the first three bytes in place.

55
00:03:41,180 --> 00:03:43,690
And then what can change is this last byte.

56
00:03:43,820 --> 00:03:49,460
So the dot to go to a dot for probably all the way up to a dot, one hundred would be a good range for

57
00:03:49,460 --> 00:03:49,730
us.

58
00:03:50,570 --> 00:03:55,770
So that's the first step we've given ourselves a new host only network V box.

59
00:03:55,790 --> 00:03:56,450
Net zero.

60
00:03:56,960 --> 00:04:03,230
And then we've said that the adapter or the network card itself will be a 10 dot dot three dot to address.

61
00:04:03,620 --> 00:04:06,110
Next, we need to set up d.H C.p.

62
00:04:06,700 --> 00:04:10,490
So d.H S.P. is the dynamic host configuration protocol.

63
00:04:10,940 --> 00:04:14,510
You don't need to remember most of that unless you're taking a certification exam.

64
00:04:14,870 --> 00:04:19,340
But d.H S.P. just means that we can get dynamic host addresses.

65
00:04:19,640 --> 00:04:25,610
So every time we connect a new client or a new host onto our network, we get a new IP address or we

66
00:04:25,610 --> 00:04:29,120
get a an IP address from a pool that gets reassigned.

67
00:04:29,600 --> 00:04:35,750
If you go to your local coffee shop or library or anyplace else that has Wi-Fi, you're probably getting

68
00:04:35,750 --> 00:04:37,490
a DHC IP address.

69
00:04:37,610 --> 00:04:40,580
That way you don't have to reconfigure every time you come onto the network.

70
00:04:40,910 --> 00:04:42,680
It automatically gives you an address.

71
00:04:42,710 --> 00:04:48,200
And once someone leaves and takes their cell phone with them or their tablet or their laptop, it will

72
00:04:48,200 --> 00:04:50,930
give that IP address to the next person who needs it.

73
00:04:51,200 --> 00:04:54,740
If it runs out of IP addresses in the in the pool.

74
00:04:55,100 --> 00:05:01,580
So what we're gonna do is configure a D.H C.p server and we need to use the same IP address range as

75
00:05:01,610 --> 00:05:03,340
our adapter.

76
00:05:04,280 --> 00:05:10,880
So I'm going to say 10 out of the three to three for our D.H S.P. server.

77
00:05:11,420 --> 00:05:15,980
This will be a virtual server that hands out addresses on this tendo the three network.

78
00:05:16,990 --> 00:05:18,710
And the Silver Mask will stay the same.

79
00:05:18,750 --> 00:05:23,530
We'll all have 10 Odah three addresses and we can give a lower and upper address bound.

80
00:05:23,770 --> 00:05:30,570
We can have addresses anywhere from 10 to Doda 3D out one all the way to 10 that Odah three dot 255.

81
00:05:30,910 --> 00:05:35,740
But for practical purposes and then because we've only got a small number of machines in this lab,

82
00:05:36,100 --> 00:05:40,960
you might say 10 at three dot four as the first machine address.

83
00:05:40,960 --> 00:05:42,160
The lower address.

84
00:05:43,640 --> 00:05:50,570
And instead of 10 DataDot three dot 254, you might say, 10 dot o dot three, dot one hundred.

85
00:05:51,290 --> 00:05:57,830
That would give us about 96, 97 addresses that we can hand out between Tendo dot three to four and

86
00:05:57,830 --> 00:06:00,020
turned out Odah three, dot one hundred.

87
00:06:01,010 --> 00:06:02,450
So once we apply that.

88
00:06:05,360 --> 00:06:05,780
Good.

89
00:06:06,080 --> 00:06:13,910
We were we should see it update and we'll come back here will enable and close.

90
00:06:14,540 --> 00:06:22,790
And if we come back into file host network manager, we'll now see that we have a 10 dot dot three address

91
00:06:22,790 --> 00:06:24,410
for our virtual box.

92
00:06:24,440 --> 00:06:25,640
Net zero.

93
00:06:25,670 --> 00:06:26,750
That is our host only.

94
00:06:27,200 --> 00:06:32,030
And let's go ahead and configure our machines for that set of addresses.

95
00:06:32,960 --> 00:06:38,450
The way we'll do that is we'll actually change the network properties of each one of these virtual machines

96
00:06:38,780 --> 00:06:41,780
so that they recognize the correct network.

97
00:06:41,810 --> 00:06:46,760
The virtual box net zero host only network for safe ethical hacking.

98
00:06:46,910 --> 00:06:48,410
We'll start that in the next lesson.

